package ${domain.moduleName}
<#list domain.fieldMap?keys as x>
<#assign v = domain.fieldMap[x]>
<#if v.foreign>
import ${v.javaType}
</#if>	
</#list>

public class ${domain.domainName} {
	<#list domain.fieldMap?keys as x>
	<#assign v = domain.fieldMap[x]>
	<#assign get = 'get' + v.name?cap_first>
	<#assign set = 'set' + v.name?cap_first>
	<#if v.javaTypeSimple == 'boolean'>
	<#assign get = 'is' + v.name?cap_first>
	</#if>
	private ${v.javaTypeSimple} ${v.name};
	public void ${set}(${v.javaTypeSimple} ${v.name}) {
		this.${v.name} = ${v.name};
	}
	public ${v.javaTypeSimple} ${get}() {
		return this.${v.name};
	}
	
	</#list>
}